#ifndef _SERVER_LOGIC_PT_H_INCLUDED_
#define _SERVER_LOGIC_PT_H_INCLUDED_

#ifdef  __cplusplus
extern "C" {
#endif

struct server_s;
typedef void (*logic_on_enter_pt)(struct server_s* self, int index);
typedef void (*logic_on_close_pt)(struct server_s* self, int index);
typedef int (*logic_on_recved_pt)(struct server_s* self, int index, const char* buffer, int len);

#ifdef  __cplusplus
}
#endif

#endif
